<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="/tinymce/skins/ui/oxide/skin.min.css" media="all">
    <link rel="stylesheet" href="/tinymce/skins/ui/oxide/content.min.css" media="all">
    <link rel="stylesheet" href="/tinymce/skins/content/default/content.min.css" media="all">
</head>
<body>
<div style="padding-left: 100px;padding-right: 100px">
    <div align="center">
        <h2><a id="title"></a></h2>
    </div>
    <hr>
    <div>
        <a id="content"></a>
    </div>
</div>

<script src="../../lib/layui-v2.6.3/layui.js" charset="utf-8"></script>
<script src="../../js/lay-config.js?v=1.0.4" charset="utf-8"></script>
<script src="/js/jquery-1.12.1.min.js"></script>
<script src="/tinymce/tinymce.min.js"></script>
<script src="/js/common.js" charset="utf-8"></script>

<script>

    layui.use(['layer','wangEditor','form'], function () {
        var $ = layui.jquery,
            form = layui.form,
            layer = layui.layer,
            wangEditor = layui.wangEditor;

        var url = decodeURI(window.location.href);
        var argsIndex = url.split("?obj=");
        var arg = argsIndex[1];

        if(arg!==undefined && arg!==''){
            let obj=api.getContentExt(arg);
            if(obj.code===0){
                $("#title").html(obj.data.title)
                $("#content").html(obj.data.content)
            }
        }
    })

</script>
</body>
</html>